package services

type UploadApi struct {
	server         string
	DirectUpload   string
	PrepareUpload  string
	UploadSlice    string
	UploadFinished string
}

func NewUploadApi(server string) *UploadApi {
	return &UploadApi{
		server:         server,
		DirectUpload:   server + "/direct-upload",
		PrepareUpload:  server + "/prepare-upload",
		UploadSlice:    server + "/upload-slice",
		UploadFinished: server + "/upload-finished",
	}
}

var UploadApiInstance *UploadApi = NewUploadApi("http://localhost:8081")
